package cn.zm.trip.web.dao;

import cn.zm.trip.web.domain.Reply;
import cn.zm.trip.web.domain.ViewPoint;
import cn.zm.trip.web.domain.ViewPointExample;
import cn.zm.trip.web.domain.Words;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ViewPointDao extends BaseMapper<ViewPoint> {
    int deleteByPrimaryKey(Integer tpVid);

    int insert(ViewPoint record);

    int insertSelective(ViewPoint record);

    List<ViewPoint> selectByExampleWithBLOBs(ViewPointExample example);

    List<ViewPoint> selectByExample(ViewPointExample example);

    List<ViewPoint> listViewPointByQuery(@Param("location") String location,@Param("start") Integer start, @Param("pageSize") Integer pageSize,@Param("orderBy") String orderBy);

    ViewPoint selectByPrimaryKey(Integer tpVid);

    int updateByPrimaryKeySelective(ViewPoint record);

    List<ViewPoint> viewPointSearch(ViewPoint viewPoint);

    int updateByPrimaryKeyWithBLOBs(ViewPoint record);

    int updateByPrimaryKey(ViewPoint record);
}